﻿-- =============================================
-- Author:		<Author,,Name>
-- Create date: <Create Date,,>
-- Description:	<Description,,>
-- =============================================
Create PROCEDURE [dbo].[_UpdateText] 
	@numetabelacamp varchar(200),
	@ptrval binary(16),
	@insert_offset int,
	@insert_size int,
	@ptr varchar(8000)
AS
BEGIN
	-- SET NOCOUNT ON added to prevent extra result sets from
	-- interfering with SELECT statements.
	SET NOCOUNT ON;
	DECLARE @cmd varchar(2000)
    SET @cmd = 'UPDATETEXT '+@numetabelacamp+' @ptrval @insert_offset @insert_size @ptr'
    EXEC(@cmd)

END